<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">

    <title>打赏页面</title>
    <link href="__PUBLIC__/index/css/expense.css" type="text/css" rel="stylesheet"/>
    <link rel="stylesheet" href="__PUBLIC__/index/css/jquery.dialog.css">
    <script src="__PUBLIC__/index/js/jquery.js"></script>
    <script src="__PUBLIC__/index/js/jquery.dialog.js"></script>
   <style>
   body{background:#ededed;}
     .erwei{ width: 100%; height: 100%;background: rgba(120,120,120,0.7); position: absolute;top: 0;z-index: 2;"}
.erwei .erweima{width:160px;height:160px;background:#fff;}
.erwei .erweima img{width:150px;height:150px;}

   </style>

</head>
<body>
<div id="background" style="position:absolute;z-index:-1;width:100%;height:100%;top:0px;left:0px;">

<img src="{$beijingtu}" width="100%" height="100%"/>

</div>
<div id="content">
<div id="nav">
<!--<img src="__PUBLIC__/index/images/hongbao.png"/>-->

<p style="color:#FF0000;top:240px;font-size:30px;font-weight:bold;letter-spacing:2px;">打赏看视频</p>

   
	 <if condition="$isfufei eq 0">
    <span style="top:270px;font-size:36px;font-weight:bold;color:#FF0000;">￥{$money}</span>
	<else/>
	
	 <span style="color:#000000;top:280px;font-size:36px;font-weight:bold;">已付款      </span>
	</if>
	
<div class="reward" style="top:320px;">
    <if condition="$isfufei eq 0">
     <input type="button" class="submit" onClick="dashang()" value="立即支付" style="background:#19ad17;color:#fff;top:0px;width:50%;">
	 <input type="button" class="submit" onClick="sheng()" value="我也要玩" style="background:#19ad17;color:#fff;top:0px;margin-top:10px;width:50%;">
	 <else/>
	  
     <input type="button" class="submit" onClick="yuanshipin()" value="查看视频" style="background:#19ad17;color:#fff;top:0px;">
	 <input type="button" class="submit" onClick="sheng()" value="我也要玩" style="background:#19ad17;color:#fff;top:0px;margin-top:10px;">
	 </if>

</div>
<script>
function sheng(){

      location.href="http://wpa.qq.com/msgrd?v=3&uin={$kefu}&site=qq&menu=yes";

	  //$('.erwei').css('display','block');
	  
 }
 function dianji(){
	  $('.erwei').css('display','none');
	  
 }



</script>
<script>
   
   function dashang(){
    
	  var str="{$str}";
	
	  var orderno="{$orderno}";
      
	  location.href="{$zhifuwangzhi}/index.php/wxpay/index/?orderno="+orderno+"&str="+str;
   
   
   }
   
   
   function yuanshipin(){
   /* var str="{$str}";
	var vid="{$vid}";
    alert(vid);*/
   
     var str="{$str}";
     var uid="{$uid}";
	 var vid="{$vid}";
	 var url="/index.php/Yuantu/shipin/id/"+vid+"/uid/"+uid+"/str/"+str;
	 //alert(url);return;
	 location.href=url;
   
   
   }
   


</script>
</div>
</div>


<style>
.footer{position:fixed;bottom:0;z-index:9999;width:100%;height:50px;background:#323136;line-height:50px;text-align:center;}
.footer a{background:url(__PUBLIC__/index/images/tousu.png) no-repeat 6px;background-size:30px 20px;color:#fff;display:block;width:100px;margin:0 auto;}
</style>
<div class="footer">
	<a href="{:U('Tousu/index',array('id'=>$pid))}">投诉</a>
</div>


<div class="erwei" style="display:none;">
<div class="erweima" style="width:160px;height:160px;background:#fff;margin:0 auto;position:relative;border-radius:10px;margin-top:55%;">
<p style="border-bottom:1px solid #ccc;text-align: center;height:30px;line-height:30px;color:#FF0000;"><a onClick="dianji()" style="position: absolute; top: 0; left: 4%;font-size:28px;color:#000000;">×</a> 请联系获取邀请码</p>
<span style="display:block;height:30px;line-height:30px;margin-top:10px;text-indent:5px;">微信：{$weixinhao}</span>

<span style="display:block;height:30px;line-height:30px;margin-top:10px;text-indent:5px;">QQ：{$qqhao}</span>
</div>
</div>



</body>
</html>